
import { FormControl } from './FormControl.js';
import { FormArray } from './FormArray.js';
import { FormGroup } from './FormGroup.js';


export class FormUtils {

	static isFormControl = (formItem) => {
		return formItem instanceof FormControl;
	}

	static isFormArray = (formItem) => {
		return formItem instanceof FormArray;
	}

	static isFormGroup = (formItem) => {
		return formItem instanceof FormGroup;
	}

}
